package com.chainyoung.component_tmperson.ui.mvp.contract;

import com.chainyoung.common.mvp.IModel;
import com.chainyoung.common.mvp.IView;
import com.chainyoung.component_tmperson.entity.CoinItem;

import java.util.List;
import java.util.TreeMap;

import io.reactivex.Flowable;

public interface AddPurseContract {

    interface View extends IView {

        void onAddPurseAddrSuccess(String data);

        void onGetCoinListSuccess(List<CoinItem> data);

    }

    interface Model extends IModel {

        Flowable<String> addPurseAddr(TreeMap<String, Object> map);
        Flowable<List<CoinItem>> getCoinList(TreeMap<String, Object> map);


    }

}
